<%-- 
    Document   : index
    Created on : 10 13, 10, 3:03:36 PM
    Author     : CCS
--%>


<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@page import="DBConnection.ConnectionFactory"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        

</script>
        <link rel = "stylesheet" href= "main.css" type="text/css"/>
        <link rel = "stylesheet" href= "menu.css" type="text/css"/>
        <link rel = "stylesheet" href= "loginreg.css" type="text/css"/>
    </head>
    <body>
     
        <div class="wrapper">
        <%--header--%>
        <center> <div id="header">
           
        </div></center>
        <%--header--%>
        
        
        <%--menu--%>
        <center><div id="tabs24">   
             <ul>          
                <li><a href="aboutusPage.jsp" >About Us</a></li>
                <li><a href="home.jsp" >Home</a></li>
                <li><a href="bookPage.jsp" >Books</a></li>
                <li><a href="magPage.jsp" >Magazines</a></li>
                <li><a href="audioPage.jsp" >Audio CDs</a></li>
                <li><a href="dvdPage.jsp" >DVDs</a></li>
             </ul>   
        </div></center>
        <%--menu--%>
       
        
        <%--centercontent--%>
        
        <div id="maincontainer">
           <label>Featured Items</label>
           <div id="BestSellersContainer">
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="books\bookDSdh.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">Dangerous Highlander</div>
                    <p class="details"> First in a breathtaking new series, the bold and passionate Lucan MacLeod, one of three brothers cursed by dark magic for eternity, is driven by desire for the one woman he dare not let himself possess...</p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>           
               </div>
               </div>
               </div>
           <br>
           <br>
           <br>
           <%-- NEXT FEATURED --%>  
           <br>
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="books\bookDSuh.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">Untamed Highlander</div>
                    <p class="details"> Druid-born and magic-blessed, Isla is one of the deadliest she-devils ever to serve the forces of darkness. As an immortal Highland warrior, it's up to Hayden Campbell to destroy her and her kind. But for Hayden, Isla is more than a sworn enemy. She is temptation...</p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>
               </div>
               </div>
               </div>
           <br>
           <br>
           <br>
           
           <%-- NEXT FEATURED --%>  
           <br>
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="books\bookHGhg.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">Hunger Games</div>
                    <p class="details"> Katniss is a 16-year-old girl living with her mother and younger sister in the poorest district of Panem, the remains of what used be the United States. Long ago the districts waged war on the Capitol and were defeated. As part of the surrender terms, each district agreed to send one boy and one girl to appear in an annual televised event called, "The Hunger Games." The terrain, rules, and level of audience participation may change but one thing is constant: kill or be killed. When her sister is chosen by lottery, Katniss steps up to go in her place. </p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>
               </div>
               </div>
               </div>
           
           
           <%-- NEXT FEATURED --%>  
           <br>
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="dvd\dvdTwilight.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">Twilight Saga</div>
                    <p class="details"> Bella Swan has always been a little bit different. Never one to run with the crowd, Bella never cared about fitting in with the trendy, plastic girls at her Phoenix, Arizona high school. When her mother remarried and Bella chooses to live with her father in the rainy little town of Forks, Washington, she didn't expect much of anything to change. But things do change when she meets the mysterious and dazzlingly beautiful Edward Cullen. For Edward is nothing like any boy she's ever met. He's nothing like anyone she's ever met, period. He's intelligent and witty, and he seems to see straight into her soul. In no time at all, they are swept up in a passionate and decidedly unorthodox romance - unorthodox because Edward really isn't like the other boys. He can run faster than a mountain lion. He can stop a moving car with his bare hands. Oh, and he hasn't aged since 1918... </p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>
               </div>
               </div>
               </div>
           
           
           </div>
       </div>
           
       <%--centercontent--%>
       
       <%--login$signup--%>
        <div id="container">
        <div id="tabbox">
        <a href="#" id="login" class="tab select">Login</a>
        <a href="#" id="signup" class="tab signup">Signup</a>
        
        </div>
            
         <div id="panel">
        <div id="loginbox">
        <form class="LogForm" name ="login" method="post" action="LoginServlet">
            Username: <input type ="text" name="username"><br>
            Password: <input type ="password" name ="password"><br>
            <input type ="submit" name="login" value ="Login"/> 
        </form>
        </div>
        <div id="signupbox">
        <form class="regForm" name ="form1" method ="post" action="registrationAction.jsp">
            First Name: <input type ="text" name ="fName"><br>
            Middle Name: <input type ="text" name="mName"><br>
            Last Name: <input type ="text" name ="lName"><br>
            Email Address: <input type="text" name="eAdd"><br> 
            Username: <input type ="text" name ="username"><br>
            Password: <input  type ="password" name ="password"><br>
            Re-type password: <input type="password" name ="retype"><br>
            <!--Address: <input type="textarea" name ="address"><br>-->
           
            <input type="submit" name="submit" value ="Register"/>
        </form>
        </div>
              </div>
           </div>
        </div>
        <%--login$signup--%>
                
            
        <div class="clear"></div>
       <%-- footer --%>
        <div id="footer">
             <a style=" margin-right: 20px; font-family: arial;float: right; color:white"href="adminIndex.jsp">Login as Admin</a>
             
        </div>
        <%-- footer --%>
       
    </body>
</html>
